The phrase "to cook the bones" means to use up or exhaust all the resources or possibilities of something.